Optimal. Leaf size=125 \[ \frac{2^{m+n+1} (a \sec (c+d x)+a)^n (e \tan (c+d x))^{m+1} \left (\frac{1}{\sec (c+d x)+1}\right )^{m+n+1} F_1\left (\frac{m+1}{2};m+n,1;\frac{m+3}{2};-\frac{a-a \sec (c+d x)}{\sec (c+d x) a+a},\frac{a-a \sec (c+d x)}{\sec (c+d x) a+a}\right )}{d e (m+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0884521, antiderivative size = 125, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.043, Rules used = {3889} \[ \frac{2^{m+n+1} (a \sec (c+d x)+a)^n (e \tan (c+d x))^{m+1} \left (\frac{1}{\sec (c+d x)+1}\right )^{m+n+1} F_1\left (\frac{m+1}{2};m+n,1;\frac{m+3}{2};-\frac{a-a \sec (c+d x)}{\sec (c+d x) a+a},\frac{a-a \sec (c+d x)}{\sec (c+d x) a+a}\right )}{d e (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3889
Rubi steps
\begin{align*} \int (a+a \sec (c+d x))^n (e \tan (c+d x))^m \, dx &=\frac{2^{1+m+n} F_1\left (\frac{1+m}{2};m+n,1;\frac{3+m}{2};-\frac{a-a \sec (c+d x)}{a+a \sec (c+d x)},\frac{a-a \sec (c+d x)}{a+a \sec (c+d x)}\right ) \left (\frac{1}{1+\sec (c+d x)}\right )^{1+m+n} (a+a \sec (c+d x))^n (e \tan (c+d x))^{1+m}}{d e (1+m)}\\ \end{align*}
Mathematica [F] time = 1.25867, size = 0, normalized size = 0. \[ \int (a+a \sec (c+d x))^n (e \tan (c+d x))^m \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.735, size = 0, normalized size = 0. \begin{align*} \int \left ( a+a\sec \left ( dx+c \right ) \right ) ^{n} \left ( e\tan \left ( dx+c \right ) \right ) ^{m}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sec \left (d x + c\right ) + a\right )}^{n} \left (e \tan \left (d x + c\right )\right )^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (a \sec \left (d x + c\right ) + a\right )}^{n} \left (e \tan \left (d x + c\right )\right )^{m}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sec \left (d x + c\right ) + a\right )}^{n} \left (e \tan \left (d x + c\right )\right )^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]